"""
字符串本身就是一串字符, 可以用 '' , "",''' ''' 来表示字符串
"""
str1 = 'hello'
str2 = "world"
str3 = '''hello world'''
print(str1, str2, str3)

# 字符串加法: 就是字符串拼接
str4 = str1+" " + str2
print(str4)

# 字符串乘法: 重复字符串
str5 = (str1+" ") * 3
print(str5)

# \' 转义字符
str6 = '123\''
print(str6)

# 字符 + 数字需要转义
s1 = '123'
s2 = 1
print(s1 + str(s2))
